<script setup>
import { useOptionconfigStore } from './store/modules/optionconfig'
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import en from 'element-plus/es/locale/lang/en'
const createdfn = (() => {
  if (document.getElementById('content')) document.getElementById('content').remove();
})
createdfn()
const iszhCn =computed(() => {
  return useOptionconfigStore().defaultSettings.in?zhCn:en
})

</script>

<template>

  <el-config-provider :locale="iszhCn">
    <router-view></router-view>
  </el-config-provider>
</template>


<style scoped lang="scss">


</style>
